<template>
	<view class="wrap">
		<text class="title">{{item.title}}</text>
		<text class="time">{{item.createTime}}</text>
		<text class="content">{{item.content}}</text>
	</view>
</template>

<script setup>
	import {
		onLoad,
		
	} from '@dcloudio/uni-app'
	import {
		ref
	} from 'vue';
	const item = JSON.parse(uni.getStorageSync('news-info'))
	onLoad(()=>{
		
	})
</script>

<style lang="scss">
	.wrap{
		margin: 38rpx;
		padding: 38rpx;
		background: #fff;
		border-radius: 23rpx;
		.title{
			display: block;
			color:#333;
			font-size: 38rpx;
			font-weight: 800;
			margin-bottom: 38rpx;
		}
		.time{
			color: #999;
			font-size: 30rpx;
			display: block;
			margin-bottom: 77rpx;
		}
		.content{
			color:#333;
			display: block;
			font-size: 30rpx;
			line-height: 58rpx;
		}
	}
	page {
		background: #F6F7F9;
	}
</style>
